package com.example.senior_homework.utils

import java.time.LocalDate
import java.time.ZoneId
import java.util.Date

fun localDateToDate(localDate: LocalDate): Date {
    return Date.from(localDate.atStartOfDay(ZoneId.systemDefault()).toInstant())
}